package com.dingup.provider.mapper;

import com.dingup.api.model.lesson.LessonSubjectInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LessonSubjectInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LessonSubjectInfo record);

    int insertSelective(LessonSubjectInfo record);

    LessonSubjectInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(LessonSubjectInfo record);

    int updateByPrimaryKey(LessonSubjectInfo record);

    List<LessonSubjectInfo> getByLessonId(Integer lessonId);
}